/*
* @desc:context-model
* @company:云南奇讯科技有限公司
* @Author: yixiaohu
* @Date:   2022/3/16 14:45
 */

package model

import "github.com/tiger1103/gfast/v3/internal/app/system/model/entity"

type Context struct {
	User *ContextUser // User in context.
}

type ContextUser struct {
	*LoginUserRes
}

type ContextUserWithRole struct {
	*ContextUser
	RoleList []*entity.SysRole `json:"roleList"`
}
